<?php
    

    header('content-type:text/html;charset=utf-8');
   

    $conn = new mysqli('localhost', 'root', '105776', 'sy2006');


    $username = $_POST['username'];
    $Focusonhousing = $_POST['Focusonhousing'];

  
    $sql = "UPDATE `user` SET `Focusonhousing`='$Focusonhousing' WHERE `username`='$username'";
    mysqli_query($conn,$sql); 

    
?>

